package com.fintech.third.model.moxie.carries;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PackageUsage implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@JsonProperty("bill_month")
    private String billMonth;

    @JsonProperty("bill_start_date")
    private String billStartDate;

    @JsonProperty("bill_end_date")
    private String billEndDate;
    
    
    @JsonProperty("code")
    private String code;

    @JsonProperty("message")
    private String message;
    
    
    public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	private List<PackageItem> items = new ArrayList<>();

    public String getBillMonth() {
        return billMonth;
    }

    public void setBillMonth(String billMonth) {
        this.billMonth = billMonth;
    }

    public String getBillStartDate() {
        return billStartDate;
    }

    public void setBillStartDate(String billStartDate) {
        this.billStartDate = billStartDate;
    }

    public String getBillEndDate() {
        return billEndDate;
    }

    public void setBillEndDate(String billEndDate) {
        this.billEndDate = billEndDate;
    }

    public List<PackageItem> getItems() {
        return items;
    }

    public void setItems(List<PackageItem> items) {
        this.items = items;
    }

    @Override
    public String toString() {
        return "PackageUsage{" +
                "billMonth='" + billMonth + '\'' +
                ", billStartDate='" + billStartDate + '\'' +
                ", billEndDate='" + billEndDate + '\'' +
                ", code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", items=" + items +
                '}';
    }
}
